﻿using System;

namespace Mal.WP7.TimeClock.Models
{
    public class TimeClockDay
    {
        #region Fields
        private DateTime day;
        private DateTime? beginMorning;
        private DateTime? endMorning;
        private DateTime? beginAfternoon;
        private DateTime? endAfternoon;
        #endregion

        #region Construction / Destruction
        public TimeClockDay()
        {

        }

        public TimeClockDay(DateTime day)
        {
            this.Day = day.Date;
        }
        #endregion

        #region enum, struct, class

        #endregion

        #region Properties
        public DateTime Day
        {
            get { return day; }

            set { day = value; }
        }

        public DateTime? BeginMorning
        {
            get { return beginMorning; }

            set { beginMorning = value; }
        }

        public DateTime? EndMorning
        {
            get { return endMorning; }

            set { endMorning = value; }
        }

        public DateTime? BeginAfternoon
        {
            get { return beginAfternoon; }

            set { beginAfternoon = value; }
        }

        public DateTime? EndAfternoon
        {
            get { return endAfternoon; }

            set { endAfternoon = value; }
        }
        #endregion

        #region Methods

        #endregion

        #region Events

        #endregion
    }
}
